<template>
  <div class="photo-article">
    <div>
      w
    </div>
  </div>
</template>

<script>
export default {
  name: "PhotoArticle",

  data() {
    return {
      photoArticleList: [],
    };
  },

  mounted() {
    this.getPhotoArticleData();
  },

  methods: {
    //  获取图文数据
    getPhotoArticleData() {
      this.$axios
        .get("https://apis.netstart.cn/one/feeds/list/0")
        .then(({ data }) => {
          this.photoArticleList = data.data;
          console.log(this.photoArticleList);
        });
    },
  },
};
</script>

<style lang="scss" scoped>
.photo-article {
  position: fixed;
  top: 42px;
  left: 0;
  bottom: 0;
  padding-bottom: 50px;
  width: 100vw;
  background-color: #fff;
  overflow: auto;
}
</style>